<?php

class Veneer_View_Helper_VeneerGoogle
{
    public function VeneerGoogle($googleCode)
    {
		if(strlen($googleCode)>4) {
        return '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "'.$googleCode.'";
urchinTracker();
</script>';
		} else { 
			return ''; 
		}
    }
}

